<?php
namespace structure\components;

class Module extends \components\Component
{
	public function Start()
	{
		$sxe = core("File")->LoadXml(_COMPONENTS_DIR."modules/".$this->GetComponent()->GetAttribute('name').".module.xml");
		$xml = core("Html")->CreateElement($sxe);
		return component($xml);
	}
}